#include "monThread.h"
#include "../Forms/Form1.h"

monThread::monThread(Form1 * formulaire):
    _formulaire(formulaire)
{
    //ctor
}

monThread::~monThread()
{
    //dtor
}

void monThread::doJob()
{
    cServer * monServeur=new cServer(8000);
    monServeur->Listen(10);

    while(1)
    {
            cSocket * nouveauClient=monServeur->Accept();
            cClientThread * threadClient=new cClientThread(_formulaire,nouveauClient);

    }
}
